<%--
 * list.jsp
 *
 * Copyright (C) 2013 Universidad de Sevilla
 * 
 * The use of this project is hereby constrained to the conditions of the 
 * TDG Licence, a copy of which you may download from 
 * http://www.tdg-seville.info/License.html
 --%>

<%@page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@taglib prefix="jstl" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@taglib prefix="security"
	uri="http://www.springframework.org/security/tags"%>
<%@taglib prefix="display" uri="http://displaytag.sf.net"%>
<%@taglib prefix="acme" tagdir="/WEB-INF/tags"%>


<display:table pagesize="5" class="displaytag" keepStatus="true"
	name="vacancies" requestURI="${requestURI}" id="row">



	<spring:message code="vacancy.peopleRequired"
		var="peopleRequiredHeader" />
	<display:column property="totalPeopleRequired"
		title="${peopleRequiredHeader}" sortable="true" />
		
	<spring:message code="vacancy.peopleLeft"
		var="peopleLeftHeader" />
	<display:column property="peopleRequired"
		title="${peopleLeftHeader}" sortable="true" />

	<spring:message code="vacancy.userGroup.name" var="userGroupNameHeader" />
	<display:column property="userGroup.name"
		title="${userGroupNameHeader}" sortable="false" />

	<spring:message code="vacancy.userGroup.description"
		var="userGroupDescriptionHeader" />
	<display:column property="userGroup.description"
		title="${userGroupDescriptionHeader}" sortable="false" />

</display:table>

<jstl:if test="${statusProject == 'Creating'}">

	<a href="vacancy/user/create.do?projectId=${projectId}"><spring:message
			code="vacancy.create" /></a>

</jstl:if>





<acme:cancel code="vacancy.goBack" url="${backURI}" />


